[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
CLS
Function
Clear the screen, using the current color if in ANSI mode.
Syntax
CLS No arguments are required
Remarks
This statement will work one of two ways depending on the mode the
caller is in. If the caller is in graphics mode (or non-graphics ANSI-
positioning) then PCBoard will issue the ANSI sequence to clear to the
screen using the current color. If the user is in non-graphics non-ANSI
mode, PCBoard will write send an ASCII 12 (form feed) character to the
remote terminal in a last ditch effort to clear the remote callers
screen. Many terminal programs do support this, but not all, so be aware
that callers may see the ASCII 12 instead of a clear screen.
Examples
COLOR @X47
CLS
PRINT "This is some sample text. (This will disappear.)"
WHILE (INKEY() = "") DELAY 1
BACKUP 22
COLOR @X1F
CLREOL
PRINT "This goes to the end of the line."
See Also:
CLREOL
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson